package com.example.demo.service;

import com.example.demo.dto.UserDto;
import com.example.demo.entity.UserEntity;
import com.example.demo.vo.ExcelImportResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface UserService {

    long count();

    String hello();

    UserEntity getUserByid(int id);

    List<UserEntity> getAllUser();

    List<UserDto> getAllUsers();

    ExcelImportResultVo importExcel(MultipartFile file,boolean flag);

    String importExcel(MultipartFile file);

    void exportExcels(List<UserDto> userDto,String name) throws IOException;

    void customExport(List<UserDto> userDtoList ,String name) throws  IOException;

    void sayHello(String string);
}
